import request from "@/utils/request.js";

export function getRequest(id) {
    return request({
        url: '/system/request/' + id,
        method: 'get'
    })
}
export function updateRequest(data) {
    return request({
        url: '/system/request',
        method: 'put',
        data:data
    })
}